package com.majie.beanParse.constructorArg;

public class StudentService {

	private String name;

	private Integer age;

	private BookService bookService;

	public StudentService( ) {
	}

	StudentService(String name, Integer age) {

		this.name = name;

		this.age = age;

	}

	StudentService(String name, Integer age, BookService bookService) {

		this.name = name;

		this.age = age;

		this.bookService = bookService;
	}

	public String getName( ) {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge( ) {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public BookService getBookService( ) {
		return bookService;
	}

	public void setBookService(BookService bookService) {
		this.bookService = bookService;
	}

	@Override
	public String toString( ) {
		return "StudentService{" +
				"name='" + name + '\'' +
				", age=" + age +
				", bookService=" + bookService +
				'}';
	}
}